package api;

import bean.request.TestDto;
import bean.response.TestVo;
import org.springframework.web.bind.annotation.*;


/**
 * Description
 *
 * @author zhuwenqiang
 * @data
 */

public interface TestApi {

    @ResponseBody
    @RequestMapping(value = "/add",method = RequestMethod.POST)
    String add(@RequestBody TestDto testDto);

    @ResponseBody
    @RequestMapping(value = "/search",method = RequestMethod.GET)
    TestVo search(@RequestBody TestDto testDto);


    @ResponseBody
    @RequestMapping(value = "testAop",method = RequestMethod.GET)
    TestVo testAop(@RequestBody TestDto testDto);
}
